\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator}{
\section{\-Mathematica\-Translator\-:\-:\-M\-T\-Matrix\-Binary\-Operator \-Class \-Reference}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator}\index{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}}
}


{\ttfamily \#include $<$\-M\-T\-Matrix\-Binary\-Operator.\-hpp$>$}

\-Inheritance diagram for \-Mathematica\-Translator\-:\-:\-M\-T\-Matrix\-Binary\-Operator\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_mathematica_translator_1_1_m_t_matrix_binary_operator}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ac976e62dc4365f2001b3511373b9da97}{
{\bfseries \-M\-T\-Matrix\-Binary\-Operator} (\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \&expr1, const std\-::string \&op, \hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \&expr2)}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ac976e62dc4365f2001b3511373b9da97}

\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a6a68a6079b495591dcfe6ee488d8022d}{generate\-Code} (\hyperlink{class_mathematica_translator_1_1_code_gen_context}{\-Code\-Gen\-Context} \&context)
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ade097d833ad5d5550711656b5797d3ed}{
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ade097d833ad5d5550711656b5797d3ed}{get\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ade097d833ad5d5550711656b5797d3ed}

\begin{DoxyCompactList}\small\item\em \-Get the best type that fits the underlying expression. \end{DoxyCompactList}\item 
virtual std\-::string $\ast$ \hyperlink{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a7f443fb9c0f9eee0075d626be40066f0}{get\-Number\-Of\-Elements} ()
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a634f0d71d88e6ae9da148a31e5c73b5c}{
virtual int {\bfseries get\-Class\-Type} ()}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a634f0d71d88e6ae9da148a31e5c73b5c}

\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a9c1b35266f26e20adceb2a42cfe488d9}{
std\-::string {\bfseries op}}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a9c1b35266f26e20adceb2a42cfe488d9}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a735504ae782e236d4f33e5443b258fbf}{
\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \& {\bfseries expr1}}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a735504ae782e236d4f33e5443b258fbf}

\item 
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ab88cb861f26c2edfc01136b83805ea40}{
\hyperlink{class_mathematica_translator_1_1_m_t_expression}{\-M\-T\-Expression} \& {\bfseries expr2}}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_ab88cb861f26c2edfc01136b83805ea40}

\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Equivalent to \hyperlink{class_mathematica_translator_1_1_m_t_binary_operator}{\-M\-T\-Binary\-Operator} for \-C\-U\-D\-A operations. \begin{DoxyNote}{\-Note}
future releases will be integrated with \hyperlink{class_mathematica_translator_1_1_m_t_binary_operator}{\-M\-T\-Binary\-Operator} 
\end{DoxyNote}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a6a68a6079b495591dcfe6ee488d8022d}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}!generate\-Code@{generate\-Code}}
\index{generate\-Code@{generate\-Code}!MathematicaTranslator::MTMatrixBinaryOperator@{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}}
\subsubsection[{generate\-Code}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator\-::generate\-Code (
\begin{DoxyParamCaption}
\item[{{\bf \-Code\-Gen\-Context} \&}]{context}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a6a68a6079b495591dcfe6ee488d8022d}
\-Main method to print the result of translating into \-C++ from \-Mathematica 
\begin{DoxyParams}{\-Parameters}
{\em context} & current variable context \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
allocated string with translation 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_ae60846398fde87b09c242b5ea263586e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.

\hypertarget{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a7f443fb9c0f9eee0075d626be40066f0}{
\index{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator@{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}!get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}}
\index{get\-Number\-Of\-Elements@{get\-Number\-Of\-Elements}!MathematicaTranslator::MTMatrixBinaryOperator@{\-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator}}
\subsubsection[{get\-Number\-Of\-Elements}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string $\ast$ \-Mathematica\-Translator\-::\-M\-T\-Matrix\-Binary\-Operator\-::get\-Number\-Of\-Elements (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_mathematica_translator_1_1_m_t_matrix_binary_operator_a7f443fb9c0f9eee0075d626be40066f0}
\-Get the number of elements in underlying expression \begin{DoxyNote}{\-Note}
for primitves returns 1, for vector/matrix returns number of elements 
\end{DoxyNote}
\begin{DoxyReturn}{\-Returns}
number of elements as string 
\end{DoxyReturn}


\-Reimplemented from \hyperlink{class_mathematica_translator_1_1_m_t_expression_a47c66480bdb9dca746c79b3d098fb24e}{\-Mathematica\-Translator\-::\-M\-T\-Expression}.



\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\-M\-T\-Matrix\-Binary\-Operator.\-hpp\item 
\-M\-T\-Matrix\-Binary\-Operator.\-cpp\end{DoxyCompactItemize}
